import request from '@/utils/request'

// 查询店铺认证信息列表
export function listShopverification(query) {
  return request({
    url: '/merchant/shopverification/list',
    method: 'get',
    params: query
  })
}

// 关联查询店铺认证信息列表
export function listShopverificationAll(query) {
  return request({
    url: '/merchant/shopverification/listAll',
    method: 'get',
    params: query
  })
}

// 查询店铺认证信息详细
export function getShopverification(id) {
  return request({
    url: '/merchant/shopverification/' + id,
    method: 'get'
  })
}

// 新增店铺认证信息
export function addShopverification(data) {
  return request({
    url: '/merchant/shopverification',
    method: 'post',
    data: data
  })
}

// 修改店铺认证信息
export function updateShopverification(data) {
  return request({
    url: '/merchant/shopverification',
    method: 'put',
    data: data
  })
}

// 删除店铺认证信息
export function delShopverification(id) {
  return request({
    url: '/merchant/shopverification/' + id,
    method: 'delete'
  })
}
